package com.szt.school.mapper;

import com.szt.school.pojo.Student;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/*自定义sql接口*/
@Mapper
@Repository
public interface StudentMapper {
    Student studentById(Integer id);
    List<Student> selectAll();
    void insertOne(Student student);
    void updateOne(Student student);
    void deleteById(Integer id);
}
